home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / misc / over5_0.lha / Over5 / 64bin / boot (.txt) next >
Commodore BASIC  |  1995-08-09  |  325b  |  13 lines

  1. 100 OPEN2,2,3,CHR$(5)+CHR$(0)
  2. 110 PRINT"WAITING..."
  3. 120 GOSUB 400:IF A$<>"S" THEN 120
  4. 130 GOSUB 400:IF A$="S" THEN 130
  5. 140 C=A:I=A:GOSUB 400:I=I+A*256
  6. 150 GOSUB 400:E=A:GOSUB 400:E=E+A*256
  7. 160 GOSUB 400:PRINT"*";:POKEI,A:I=I+1:IF I<>E THEN 160
  8. 170 GOSUB 400:IF C<>0 THEN PRINT:PRINT"?CHK ERROR":CLOSE2:END
  9. 180 PRINT:PRINT"CHK OK":CLOSE2:END
  10. 400 GET#2,A$:IF ST=8 THEN 400
  11. 410 IF A$="" THEN A$=CHR$(0)
  12. 420 A=ASC(A$):C=(C+A)AND255:RETURN
  13.